Index: views/colorbox_handler_field_colorbox.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/colorbox/views/colorbox_handler_field_colorbox.inc,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 colorbox_handler_field_colorbox.inc
--- views/colorbox_handler_field_colorbox.inc	18 May 2010 07:29:41 -0000	1.1
+++ views/colorbox_handler_field_colorbox.inc	1 Jun 2010 07:14:29 -0000
@@ -120,7 +120,9 @@ class colorbox_handler_field_colorbox ex
    */
   function render($values) {
     // Load the necessary js file for Colorbox activation.
-    drupal_add_js(drupal_get_path('module', 'colorbox') .'/js/colorbox_inline.js');
+    if (_colorbox_active()) {
+      drupal_add_js(drupal_get_path('module', 'colorbox') .'/js/colorbox_inline.js');
+    }
 
     // We need to have multiple unique IDs, one for each record.
     static $i = 0;
